<%@ page language="java" contentType="text/html; charset=UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf8">
<title>搜索测试页</title>
</head>
<body>
<table>
<thead>
<tr>
<td>搜索</td>
<td>
<input name="key" type="text" >
</td>
</tr>
<tr>
<td>视频标题</td>
<td>视频摘要</td>
<td>视频</td>
</tr>
</thead>
<tbody>
<c:forEach var="video" items="${searchResult.resultList}">
<tr>
<td><a href="http://www.cvtvcn.com/video/${video.videoId }/3">${video.title}</a></td>
<td>${video.remark }</td>
<td><img alt="视频无法加载" src="http://www.cvtvcn.com/${video.videoImage}"></td>
</tr>
</c:forEach>
</tbody>
</table>
</body>
</html>